package com.langshixiaobai.game;

import org.springframework.stereotype.Component;
import org.springframework.web.socket.TextMessage;

@Component
public class MessageResponse {
    //状态
    private boolean ok;

    //原因
    private String reason;

    //消息
    private String message;

    public boolean isOK() {
        return ok;
    }

    public void setOK(boolean ok) {
        this.ok = ok;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
